package com.my.security;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by 80002023 on 2016/6/13.
 */
public class TokenInfo implements Serializable{

    private static final long serialVersionUID = 1L;

    private String username;
    private Date expires;
    private String token;

    public TokenInfo() {

    }

    public TokenInfo(String username, Date expires, String token) {
        this.username = username;
        this.expires = expires;
        this.token = token;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getExpires() {
        return expires;
    }

    public void setExpires(Date expires) {
        this.expires = expires;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

}
